3.75 \(\int \cos (c+d x) \sqrt{b \sec (c+d x)} \, dx\)

Optimal. Leaf size=39 \[ \frac{2 b E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}} \]

[Out]

(2*b*EllipticE[(c + d*x)/2, 2])/(d*Sqrt[Cos[c + d*x]]*Sqrt[b*Sec[c + d*x]])

________________________________________________________________________________________

Rubi [A]  time = 0.0296558, antiderivative size = 39, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158, Rules used = {16, 3771, 2639} \[ \frac{2 b E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}} \]

Antiderivative was successfully verified.

[In]

Int[Cos[c + d*x]*Sqrt[b*Sec[c + d*x]],x]

[Out]

(2*b*EllipticE[(c + d*x)/2, 2])/(d*Sqrt[Cos[c + d*x]]*Sqrt[b*Sec[c + d*x]])

Rule 16

Int[(u_.)*(v_)^(m_.)*((b_)*(v_))^(n_), x_Symbol] :> Dist[1/b^m, Int[u*(b*v)^(m + n), x], x] /; FreeQ[{b, n}, x
] && IntegerQ[m]

Rule 3771

Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Dist[(b*Csc[c + d*x])^n*Sin[c + d*x]^n, Int[1/Sin[c + d
*x]^n, x], x] /; FreeQ[{b, c, d}, x] && EqQ[n^2, 1/4]

Rule 2639

Int[Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticE[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ[{
c, d}, x]

Rubi steps

\begin{align*} \int \cos (c+d x) \sqrt{b \sec (c+d x)} \, dx &=b \int \frac{1}{\sqrt{b \sec (c+d x)}} \, dx\\ &=\frac{b \int \sqrt{\cos (c+d x)} \, dx}{\sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}\\ &=\frac{2 b E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}\\ \end{align*}

Mathematica [A]  time = 0.0348944, size = 39, normalized size = 1. \[ \frac{2 b E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}} \]

Antiderivative was successfully verified.

[In]

Integrate[Cos[c + d*x]*Sqrt[b*Sec[c + d*x]],x]

[Out]

(2*b*EllipticE[(c + d*x)/2, 2])/(d*Sqrt[Cos[c + d*x]]*Sqrt[b*Sec[c + d*x]])

________________________________________________________________________________________

Maple [C]  time = 0.149, size = 303, normalized size = 7.8 \begin{align*} 2\,{\frac{1}{d\sin \left ( dx+c \right ) } \left ( i\sqrt{ \left ( \cos \left ( dx+c \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( dx+c \right ) }{\cos \left ( dx+c \right ) +1}}}{\it EllipticF} \left ({\frac{i \left ( -1+\cos \left ( dx+c \right ) \right ) }{\sin \left ( dx+c \right ) }},i \right ) \cos \left ( dx+c \right ) \sin \left ( dx+c \right ) -i\cos \left ( dx+c \right ) \sin \left ( dx+c \right ) \sqrt{ \left ( \cos \left ( dx+c \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( dx+c \right ) }{\cos \left ( dx+c \right ) +1}}}{\it EllipticE} \left ({\frac{i \left ( -1+\cos \left ( dx+c \right ) \right ) }{\sin \left ( dx+c \right ) }},i \right ) +i{\it EllipticF} \left ({\frac{i \left ( -1+\cos \left ( dx+c \right ) \right ) }{\sin \left ( dx+c \right ) }},i \right ) \sqrt{ \left ( \cos \left ( dx+c \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( dx+c \right ) }{\cos \left ( dx+c \right ) +1}}}\sin \left ( dx+c \right ) -i\sin \left ( dx+c \right ) \sqrt{ \left ( \cos \left ( dx+c \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( dx+c \right ) }{\cos \left ( dx+c \right ) +1}}}{\it EllipticE} \left ({\frac{i \left ( -1+\cos \left ( dx+c \right ) \right ) }{\sin \left ( dx+c \right ) }},i \right ) - \left ( \cos \left ( dx+c \right ) \right ) ^{2}+\cos \left ( dx+c \right ) \right ) \sqrt{{\frac{b}{\cos \left ( dx+c \right ) }}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(d*x+c)*(b*sec(d*x+c))^(1/2),x)

[Out]

2/d*(I*(1/(cos(d*x+c)+1))^(1/2)*(cos(d*x+c)/(cos(d*x+c)+1))^(1/2)*EllipticF(I*(-1+cos(d*x+c))/sin(d*x+c),I)*co
s(d*x+c)*sin(d*x+c)-I*EllipticE(I*(-1+cos(d*x+c))/sin(d*x+c),I)*cos(d*x+c)*sin(d*x+c)*(1/(cos(d*x+c)+1))^(1/2)
*(cos(d*x+c)/(cos(d*x+c)+1))^(1/2)+I*EllipticF(I*(-1+cos(d*x+c))/sin(d*x+c),I)*(1/(cos(d*x+c)+1))^(1/2)*(cos(d
*x+c)/(cos(d*x+c)+1))^(1/2)*sin(d*x+c)-I*EllipticE(I*(-1+cos(d*x+c))/sin(d*x+c),I)*sin(d*x+c)*(1/(cos(d*x+c)+1
))^(1/2)*(cos(d*x+c)/(cos(d*x+c)+1))^(1/2)-cos(d*x+c)^2+cos(d*x+c))*(b/cos(d*x+c))^(1/2)/sin(d*x+c)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (d x + c\right )} \cos \left (d x + c\right )\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)*(b*sec(d*x+c))^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(b*sec(d*x + c))*cos(d*x + c), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\sqrt{b \sec \left (d x + c\right )} \cos \left (d x + c\right ), x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)*(b*sec(d*x+c))^(1/2),x, algorithm="fricas")

[Out]

integral(sqrt(b*sec(d*x + c))*cos(d*x + c), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec{\left (c + d x \right )}} \cos{\left (c + d x \right )}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)*(b*sec(d*x+c))**(1/2),x)

[Out]

Integral(sqrt(b*sec(c + d*x))*cos(c + d*x), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (d x + c\right )} \cos \left (d x + c\right )\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)*(b*sec(d*x+c))^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(b*sec(d*x + c))*cos(d*x + c), x)